import {Column, ObjectID, CreateDateColumn, ObjectIdColumn, Entity} from "typeorm";

@Entity()
export class Logger {

    @ObjectIdColumn()
    id: ObjectID;

    @Column()
    name: string;

    @CreateDateColumn({ type: 'timestamp' })
    createdAt: Date;
}